package com.car.test;

public class Single {
	 private static Single single;
	
	 private Single(){}
	
	
	
	public  static synchronized Single getSingle() {
		if (single==null) {
			single=new Single();
		}
		return single;
		
	}
	
	public static void main(String[] args) {
		
		String cc="2016款";
		if (cc.indexOf("款")>0) {
			System.out.println(cc.substring(cc.indexOf("款")-4,cc.indexOf("款")));
		}
		
		
	}
}
